Array Destructuring Tasks - Task 01

Extract the first two fruits from the array.

// 1. Basic Array Destructuring
// Extract the first two fruits from the array.

const fruits = ["apple", "banana", "mango"];
const [zero, one] = fruits;

console.log("🚀 ~ fruits:", fruits)
console.log(" ~ First fruit: "+ zero + "\n ~ Second fruit: " + one)